/**
 * Created by Administrator on 2017/3/20.
 */
function request(req) {
    return {
        app: req.app,
        baseUrl: req.baseUrl,
        body: req.body,
        cookies: req.cookies,
        fresh: req.fresh,
        hostname: req.hostname,
        ip: req.ip,
        ips: req.ips,
        originalUrl: req.originalUrl
    };
}

module.exports = request;